package com.datang.pet.service;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-06-24 09:08
 * @notify
 * @version 1.0
 */

import com.datang.pet.pojo.City;
import com.datang.pet.vo.AddGivePetRequest;
import com.datang.pet.vo.GetGiveInfoResponse;
import com.datang.pet.vo.GetGivePetListByCityResponse;

import java.util.Date;
import java.util.List;

public interface GivePetService {
    void AddGivePet(AddGivePetRequest addGivePetRequest)throws Exception;

    List<GetGivePetListByCityResponse> getGivePetListByCity(String city, Date time)throws Exception ;

    List<City> getCityList()throws Exception;

    GetGiveInfoResponse getGiveInfo(String id)throws Exception;

    List<GetGivePetListByCityResponse> getGiveListByUserId(String userId)throws Exception;

    void deleteGiveById(String userId,String id)throws Exception;
}
